import { Component, OnInit } from '@angular/core';
import { Route, Router } from '@angular/router';

@Component({
  selector: 'app-logo',
  templateUrl: './logo.component.html',
  styleUrls: ['./logo.component.scss']
})
export class LogoComponent implements OnInit {

  constructor(
    private router: Router,
  ) { }

  ngOnInit() {

  }

  toPage() {
    this.router.navigateByUrl('/pages/home');
  }

}
